import request from './request'


const getArticleTypeSelect = data =>{
    return request.zlhGet({
        url:'api/articleTypeS',
        data
    })
}

const getArticleTypeList = data =>{
    return request.zlhGet({
        url:'api/articleType',
        data
    })
}

const addArticleType = data =>{
    return request.zlhPost({
        url:'api/articleType',
        data
    })
}

const deleteArticleType = data =>{
    return request.zlhPost({
        url:'api/articleTypeD',
        data
    })
}

export default {
    getArticleTypeList,
    getArticleTypeSelect,
    addArticleType,
    deleteArticleType
}
